package com.ATM;

import javax.swing.JPanel;
import javax.swing.JLabel;
import javax.swing.JTextField;
import javax.swing.JButton;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;

public class OpenPanel extends JPanel {
	private JTextField jt_name;
	private JTextField jt_password;
	private JTextField jt_idCard;

	/**
	 * Create the panel.
	 */
	public OpenPanel() {
		setLayout(null);
		
		JLabel lblNewLabel = new JLabel("\u5F00\u6237\uFF1A");
		lblNewLabel.setBounds(107, 70, 54, 15);
		add(lblNewLabel);
		
		JLabel lblNewLabel_1 = new JLabel("\u59D3\u540D\uFF1A");
		lblNewLabel_1.setBounds(107, 120, 54, 15);
		add(lblNewLabel_1);
		
		JLabel lblNewLabel_2 = new JLabel("\u5BC6\u7801\uFF1A");
		lblNewLabel_2.setBounds(107, 207, 54, 15);
		add(lblNewLabel_2);
		
		jt_name = new JTextField();
		jt_name.setBounds(204, 117, 66, 21);
		add(jt_name);
		jt_name.setColumns(10);
		
		jt_password = new JTextField();
		jt_password.setBounds(204, 204, 66, 21);
		add(jt_password);
		jt_password.setColumns(10);
		
		JButton jb_ok = new JButton("\u786E\u8BA4");
		jb_ok.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
			}
		});
		jb_ok.setBounds(107, 244, 93, 23);
		add(jb_ok);
		
		JLabel lblNewLabel_3 = new JLabel("\u8EAB\u4EFD\u8BC1\u53F7\uFF1A");
		lblNewLabel_3.setBounds(107, 162, 87, 15);
		add(lblNewLabel_3);
		
		jt_idCard = new JTextField();
		jt_idCard.setBounds(204, 159, 66, 21);
		add(jt_idCard);
		jt_idCard.setColumns(10);

	}

}
